package com.ccloud.auth.common.model;

public class TokenConstant {
    /**
     * JWT的秘钥
     * TODO 实际项目中需要统一配置到配置文件中，资源服务也需要用到
     */
    public final static String SIGN_KEY="myjszl";

    public final static String TOKEN_NAME="X-Access-Token";

    public final static String PRINCIPAL_NAME="principal";

    public final static String USER_NAME="user_name";

    public static final String AUTHORITIES_NAME="authorities";

    public static final String USER_ID="user_id";

    public static final String JTI="jti";

    public static final String EXPR="exp";

    public static final String FULL_TOKEN = "X-FULL-Access-Token";
}
